/**  
 * Project Name:ofs-service-common  
 * File Name:TradeDetails.java  
 * Package Name:com.moxie.cloud.services.ofs.common.taobao.dto  
 * Date:2016年6月14日下午9:36:31  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.taobao.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**  
 * ClassName:TradeDetails <br/>  
 * Function: TODO ADD FUNCTION. <br/>  
 * Reason:   TODO ADD REASON. <br/>  
 * Date:     2016年6月14日 下午9:36:31 <br/>  
 * @author   yuandong  
 * @version    
 * @since    JDK 1.6  
 * @see        
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class TradeDetailEntity implements Saveable{

	private long id;
	private String userId;
	private String mappingId;
	private String tradeId;
	private String tradeStatus;
	private Date tradeCreateTime;
	private Integer actualFee;
	private long sellerId;
	private String sellerNick;
	private String sellerShopName;
	private String tradeText;
	private String deliverName;       //姓名
	private String deliverMobilePhone;//移动电话
	private String deliverFixedPhone; //固定电话
	private String deliverAddress;    //收货地址
	private String deliverPostCode;   //邮编 
	private String deliverFullAddress;//全量地址
	private String invoiceName;// 发票抬头
	private Date createTime;
	private Date lastModifyTime;
	
	
	private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_taobao_tradeinfo";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

	public String getMappingId() {
		return mappingId;
	}

	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}

	public String getTradeId() {
		return tradeId;
	}

	public void setTradeId(String tradeId) {
		this.tradeId = tradeId;
	}

	public String getTradeStatus() {
		return tradeStatus;
	}

	public void setTradeStatus(String tradeStatus) {
		this.tradeStatus = tradeStatus;
	}

	public Date getTradeCreateTime() {
		return tradeCreateTime;
	}

	public void setTradeCreateTime(Date tradeCreateTime) {
		this.tradeCreateTime = tradeCreateTime;
	}

	public Integer getActualFee() {
		return actualFee;
	}

	public void setActualFee(Integer actualFee) {
		this.actualFee = actualFee;
	}

	public long getSellerId() {
		return sellerId;
	}

	public void setSellerId(long sellerId) {
		this.sellerId = sellerId;
	}

	public String getSellerNick() {
		return sellerNick;
	}

	public void setSellerNick(String sellerNick) {
		this.sellerNick = sellerNick;
	}

	public String getSellerShopName() {
		return sellerShopName;
	}

	public void setSellerShopName(String sellerShopName) {
		this.sellerShopName = sellerShopName;
	}

	public String getTradeText() {
		return tradeText;
	}

	public void setTradeText(String tradeText) {
		this.tradeText = tradeText;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDeliverName() {
		return deliverName;
	}

	public void setDeliverName(String deliverName) {
		this.deliverName = deliverName;
	}

	public String getDeliverMobilePhone() {
		return deliverMobilePhone;
	}

	public void setDeliverMobilePhone(String deliverMobilePhone) {
		this.deliverMobilePhone = deliverMobilePhone;
	}

	public String getDeliverFixedPhone() {
		return deliverFixedPhone;
	}

	public void setDeliverFixedPhone(String deliverFixedPhone) {
		this.deliverFixedPhone = deliverFixedPhone;
	}

	public String getDeliverAddress() {
		return deliverAddress;
	}

	public void setDeliverAddress(String deliverAddress) {
		this.deliverAddress = deliverAddress;
	}

	public String getDeliverPostCode() {
		return deliverPostCode;
	}

	public void setDeliverPostCode(String deliverPostCode) {
		this.deliverPostCode = deliverPostCode;
	}

	public String getDeliverFullAddress() {
		return deliverFullAddress;
	}

	public void setDeliverFullAddress(String deliverFullAddress) {
		this.deliverFullAddress = deliverFullAddress;
	}

	public String getInvoiceName() {
		return invoiceName;
	}

	public void setInvoiceName(String invoiceName) {
		this.invoiceName = invoiceName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	
	

}
  
